#pragma once
#include<QPixmap>
#include<QString>
#include<QPainter>
class scoreNum
{
private:
    QString dirOfpic[11];
    int data;
    int num[4];
    QRect rect[4];
    QImage image[4];
    int digit;
public:
    scoreNum();
    void setScore(int);
    bool isPaint;
    QRect getRect(int);
    QImage & getImage(int);
    int getDigit();
    QImage & getZero();
};
